Selecting a Target

Many exploits will require the TARGET environment variable to be set to the index number of the desired target. The show targets command will list all targets provided by the exploit module. Many exploits will default to a brute-force target type; this may not be desirable in all situations.